package com.yuwei;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {

    @RequestMapping("/yuwei/test")
    @ResponseBody
    public String test(){
        return "test-不拦截";
    }

    @RequestMapping("/user1/a")
    @ResponseBody
    public String user1a(){
        return "访问：/user1/a 成功！";
    }

    @RequestMapping("/user2/b")
    public String user2b(){
        return "user2_b";
    }



}
